package com.csun.cmny.provider.model.dto.inventory;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;


@Data
public class InStockDto {

    /*物品名称*/
    @NotEmpty(message = "{stock.articleName.null}")
    private String articleName;


    /*物品型号*/
    @NotEmpty(message = "{stock.articleNo.null}")
    private String articleNo;

    /*入库数量*/
    @NotNull(message = "{stock.quantity.in.null}")
    private Integer quantity;

    /*入库日期*/
    @NotEmpty(message = "{stock.stockDate.in.null}")
    private String stockDate;

    /*入库人*/
    @NotEmpty(message = "{stock.receiptor.in.null}")
    private String receiptor;

    /*备注*/
    private  String remark;
}
